package com.codingfuture.erp_system.service.impl;

import com.codingfuture.erp_system.entity.Month;
import com.codingfuture.erp_system.mapper.MonthMapper;
import com.codingfuture.erp_system.service.MonthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MonthServiceImpl implements MonthService {
    @Autowired
    private MonthMapper monthMapper;

    @Override
    public List<Month> findByMonth(Integer year) {
        return monthMapper.findByMonth(year);
    }
}
